<%-- 
    Document   : sach4KM
    Created on : May 19, 2013, 5:14:29 PM
    Author     : quannq
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<c:forEach items="${ListSach}" var="sach">
    <div class="product-one">   
        <div class="p-thumb" onmouseover="tooltip(${sach.masach});">
            <a href="view-sach/${sach.masach}" title="">
                <img class="" src="${pageContext.request.contextPath}/image/sell/${sach.anhbia}" width="109" height="160" alt="${sach.tensach}" border="0"/>
            </a>
        </div>      
        <div>
            <h2>
                <a href="view-sach/${sach.masach}" title="${sach.tensach}">${sach.tensach}</a>
            </h2>

            <div class="p-price"><span><span id="sec_sell_price_69726">${sach.giabia}</span>&nbsp;VNĐ</span>
            </div>
            <c:if test="${sach.giamgia>0}">
                <div class="p-discount-percent">(Giảm ${sach.giamgia} %)</div>
            </c:if>
        </div>
    </div>
</c:forEach>
